import request from "@/utils/request";

export function reqTrademarkList(page, limit) {
  return request({
    url: `/admin/product/baseTrademark/${page}/${limit}`,
    method: "get"
  });
}

export function reqAddTrademark(data) {
  return request({
    url: `/admin/product/baseTrademark/save`,
    method: "post",
    data
  });
}

export function reqDelTrademark(id) {
  return request({
    url: `/admin/product/baseTrademark/remove/${id}`,
    method: "delete"
  });
}

export function reqUpdateTrademark(data) {
  return request({
    url: `/admin/product/baseTrademark/update`,
    method: "put",
    data
  });
}

export function reqAllTrademark() {
  return request({
    url: `/admin/product/baseTrademark/getTrademarkList`,
    method: "get"
  });
}
